#region Using References

using System;
using Beaker.OpenCube.Textures;
using GalaSoft.MvvmLight.Messaging;

#endregion

namespace Beaker.OpenCube.WorldViewer.Messages
{
	/// <summary>
	/// Sent when the texture pack needs to change
	/// </summary>
	[Obsolete]
	public sealed class ChangeTexturePackMessage
		: MessageBase
	{
		private readonly ITexturePack _newTexturePack;

		public ChangeTexturePackMessage( ITexturePack newTexture )
		{
			_newTexturePack = newTexture;
		}

		/// <summary>
		/// Gets the texture pack to change to.
		/// </summary>
		/// <value>
		/// The texture pack to change to.
		/// </value>
		public ITexturePack TexturePackToChangeTo
		{
			get { return _newTexturePack; }
		}
	}
}